//
//  SDShopDetailsViewController.h
//  Sydeny
//
//  Created by Rainbow on 7/26/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Shop.h"
#import "ImageScrollView.h"

@interface SDShopDetailsViewController : UIViewController<UIScrollViewDelegate> {
    IBOutlet UILabel        *nameLabel;
    IBOutlet UILabel        *introduceLabel;
    IBOutlet UIButton       *telephoneBtn;
    IBOutlet UIButton       *favorateBtn;
    IBOutlet UIButton       *shareBtn;
    
    IBOutlet UIButton       *descriptionBtn;
    IBOutlet UIButton       *commentsBtn;
    
    IBOutlet UIView         *upView;
    IBOutlet UIView         *downView;
    
    ImageScrollView   *imageScrollView;
    
    UIImageView *leftArrowImageView;
    UIImageView *rightArrowImageView;
    
    Shop *shop;
    UITextView *detailsTextView;
    UITableView *commentTableView;
    UIScrollView *scrollView;
}
@property (nonatomic, retain) IBOutlet UIScrollView *scrollView;
@property (nonatomic, retain) IBOutlet UILabel        *nameLabel;
@property (nonatomic, retain) IBOutlet UILabel        *introduceLabel;
@property (nonatomic, retain) IBOutlet UIButton       *telephoneBtn;
@property (nonatomic, retain) IBOutlet UIButton       *favorateBtn;
@property (nonatomic, retain) IBOutlet UIButton       *shareBtn;

@property (nonatomic, retain) IBOutlet UIButton       *descriptionBtn;
@property (nonatomic, retain) IBOutlet UIButton       *commentsBtn;
@property (nonatomic, retain) ImageScrollView   *imageScrollView;

@property (nonatomic, retain) IBOutlet UIView         *upView;
@property (nonatomic, retain) IBOutlet UIView         *downView;

@property (nonatomic, retain) Shop *shop;
@property (nonatomic, retain) IBOutlet UITextView *detailsTextView;
@property (nonatomic, retain) IBOutlet UITableView *commentTableView;

-(id)initWithShop:(Shop *)shop;
- (IBAction)tapOnCommentBtn:(id)sender;
- (IBAction)tapOnPhoneBtn:(id)sender;
- (IBAction)tapOnFavoriteBtn:(id)sender;
- (IBAction)tapOnShareBtn:(id)sender;

@end
